﻿using System;
using System.Collections.Generic;

using System.Text;

namespace TA.Turbo
{
	/// <summary>
	/// Data binding direction.
	/// </summary>
	public enum DataDirection
	{
		/// <summary>
		/// No data binding.
		/// </summary>
		None = 0,
		/// <summary>
		/// Data bound to control.
		/// </summary>
		Bind = 1 << 0,
		/// <summary>
		/// Data saved from control to storage.
		/// </summary>
		Store = 1 << 1,
		/// <summary>
		/// Both ways.
		/// </summary>
		Both = Bind | Store
	}
}
